package com.crm.sys.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import com.crm.base.model.BaseModel;

/** 
Create Table

CREATE TABLE `crm_configure_item` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `cid` int(11) DEFAULT NULL COMMENT '配置表ID',
  `pid` int(11) DEFAULT NULL COMMENT '父ID',
  `name` varchar(50) DEFAULT NULL COMMENT '名称',
  `value` varchar(50) DEFAULT NULL COMMENT '值',
  `count` int(11) DEFAULT NULL COMMENT '数量',
  `ordernumber` int(11) DEFAULT NULL COMMENT '排序号',
  `createdate` datetime DEFAULT NULL COMMENT '创建时间',
  `createuser` varchar(20) DEFAULT NULL COMMENT '创建人',
  `updatedate` datetime DEFAULT NULL COMMENT '修改时间',
  `updateuser` varchar(20) DEFAULT NULL COMMENT '修改人',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='系统配置项详情列表'

*/
public class ConfigureItem extends BaseModel {
	 
	/**
	 * 
	 */
	private static final long serialVersionUID = -6890182326805154157L;
	private Long cid;
	private Long pid; //父ID
	private String name;
	private String value;
	private Integer count;
	private Integer ordernumber;
	private String code;
	private Integer isdel;

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Long getCid() {
		return cid;
	}
	public void setCid(Long cid) {
		this.cid = cid;
	}
	public Long getPid() {
		return pid;
	}
	public void setPid(Long pid) {
		this.pid = pid;
	}
	public void setName(String name){
		this.name=name;
	}
	public String getName(){
		return name;
	}
	public void setValue(String value){
		this.value=value;
	}
	public String getValue(){
		return value;
	}
	public void setCount(Integer count){
		this.count=count;
	}
	public Integer getCount(){
		return count;
	}
	public void setOrdernumber(Integer ordernumber){
		this.ordernumber=ordernumber;
	}
	public Integer getOrdernumber(){
		return ordernumber;
	}
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
	public Integer getIsdel() {
		return isdel;
	}
	public void setIsdel(Integer isdel) {
		this.isdel = isdel;
	}
}

